package com.jt.www.exception;

/**
 * @Description: 幂等异常
 * @Date: 2020/4/1 12:07
 */
public class IdempotentException extends RuntimeException {

    private static final long serialVersionUID = 1L;
    private String code;
    private String msg;
    public IdempotentException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
